package me.maupassant.ssm.services.impl;

import me.maupassant.ssm.condition.WindowsCondition;
import me.maupassant.ssm.services.TestService;
import org.springframework.context.annotation.Conditional;
import org.springframework.stereotype.Service;

@Conditional(WindowsCondition.class)
@Service
public class TestServiceImpl implements TestService {

    public TestServiceImpl(){
        System.out.println("call the contrast");
    }


    @Override
    public void test() {
        System.out.println("call the TestServiceImpl . test()");
    }
}
